package com.example.studyPlatform.bean;

import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@Getter
@Setter
public class Post extends IdentifiableBean<Integer> implements TimeEntity {
    Timestamp createTime=nowTime(), updateTime;
    protected int author, type, status, topPriority, wordCount,commentsNumber;
    protected Long likes, visits;
    protected boolean disallowComment;
    protected String metaDescription, metaKeywords, content, password, summary, thumbnail, title, url;
}
